Skip to main content

openStack

Type​

message

Summary​

Sent to the destination card right after you open a stack.

Syntax​

openStack

Description​

Handle the openStack message to change a stack's objects, or perform other updates, when the stack is opened.

The openStack message is sent after the stack is visible.

To make changes that take effect before the stack becomes visible on the screen, use a preOpenStack handler instead of openStack.

The actual opening is not triggered by the openStack message, so trapping the message and not allowing it to pass does not prevent the stack from opening.

Examples​

on openStack
send "rollCredits" to field "Credits"
end openStack

control structure: pass

glossary: object, trap, handler, message

keyword: card

message: openBackground, resume

object: stack

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?